import "core-js/stable";
import "regenerator-runtime/runtime";
import Vue from "vue";
import "@/assets/icons";
import App from "./App.vue";
import router from "./router";
import store from "./store";
// import '@/plugins/element.js'
import ElementUI from "element-ui";
import init from "@/assets/elerem/index";
import formCreate from "@form-create/element-ui";
import util from "@/plugins/util.js";
import "@/assets/iconfont/iconfont.css";
// import 'element-ui/lib/theme-chalk/index.css'
// import './styles/element-variables.scss'
import '@/assets/elerem/styles/element-ui.css'
import "./styles/index.scss"; // global css

// import 'amfe-flexible'
Vue.use(ElementUI);
Vue.use(util);
Vue.use(formCreate);


Vue.config.productionTip = false;

const app = new Vue({
	router,
	store,
	render: (h) => h(App),
}).$mount("#app");

init(Vue, {
	elementToRem: true,
	config: {
		pxToRem: 100,
	},
	use: [ElementUI], // 组件批量注册

	prototype: {
		// vue原型方法设置
	},
});

